package models.core.catalog;

import java.io.Serializable;

import models.BeanDtoImpl;

/**
 * Domain entity
 */
public class DomainDto extends BeanDtoImpl implements Serializable {

	private static final long serialVersionUID = -8167567077823238660L;
	private Integer id;
	private CountryDto country;
	private RegionDto region;
	private String name;

	public DomainDto() {
	}

	public DomainDto(CountryDto country, String name) {
		this.country = country;
		this.name = name;
	}

	@Override
	public Integer getId() {
		return this.id;
	}

	@Override
	public void setId(Integer id) {
		this.id = id;
	}

	public CountryDto getCountry() {
		return country;
	}

	public void setCountry(CountryDto Country) {
		this.country = Country;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public RegionDto getRegion() {
		return region;
	}

	public void setRegion(RegionDto region) {
		this.region = region;
	}

}
